<{include file ="header.tpl"}>
<{include file ="navibar.tpl"}>
<{include file ="sidebar.tpl"}>

<!--- START 以上内容不需更改，保证该TPL页内的标签匹配即可 --->

<{$osadmin_action_alert}>
<{$osadmin_quick_note}>

<div class="btn-toolbar" style="margin-bottom:2px;">
    <a href="tourist_order_add.php" class="btn btn-primary"><i class="icon-plus"></i> 旅游订单</a>
</div>

</div>
    <div class="block">
        <a href="#page-stats" class="block-heading" data-toggle="collapse">旅游订单列表</a>
        <div id="page-stats" class="block-body collapse in">
               <table class="table table-striped">
              <thead>
                <tr>
					<th style="">旅游订单编号</th>
					<th style="">旅客Id</th>
					<th style="">旅客名字</th>
					<th style="">旅游类型</th>
					<th style="">旅游地址</th>
					<th style="">费用</th>
					<th style="">是否自驾</th>
					<th style="">订单时间</th>
					<th style="">旅游时间</th>
					<th style="">是否付款</th>
					<th style="">操作</th>
                </tr>
              </thead>
              <tbody>							  
                <{foreach name=stock_infos from=$tourist_orders item=tourist_order}>				 
					<tr>
					<td><{$tourist_order.tr_id}></td>
					<td><{$tourist_order.tourist_id}></td>
					<td><{$tourist_order.tourist_name}></td>
					<td><{$tourist_conf["type"][$tourist_order.tourist_type]}></td>
					<td><{$tourist_conf["address"][$tourist_order.tourist_addr]}></td>
					<td><{$tourist_order.tourist_pay}></td>
					<td><{$tourist_conf["isSelfDrive"][$tourist_order.self_drive]}></td>
					<td><{$tourist_order.tr_create_time}></td>
					<td><{date("Y-m-d",$tourist_order.tourist_start_time)}>&nbsp;到&nbsp;<{date("Y-m-d",$tourist_order.tourist_end_time)}></td>
					<td><{$tourist_conf["isPay"][$tourist_order.is_pay]}></td>
					<td>
					<a href="tourist_order_modify.php?tr_id=<{$tourist_order.tr_id}>" title= "修改" ><i class="icon-pencil"></i></a>
					&nbsp;
					&nbsp;
					<a data-toggle="modal" href="#myModal" title= "删除" ><i class="icon-remove" href="tourist_orders.php?method=del&tr_id=<{$tourist_order.tr_id}>" ></i></a>
					
					</td>
					</tr>
				<{/foreach}>
              </tbody>
            </table> 
				<!--- START 分页模板 --->
				
               <{$page_html}>
					
			   <!--- END --->
        </div>
    </div>

<!---操作的确认层，相当于javascript:confirm函数--->
<{$osadmin_action_confirm}>

<!--- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 --->
<{include file="footer.tpl" }>